<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%@ taglib uri="/WEB-INF/config/tld/fmt.tld" prefix="fmt" %>
<%@ taglib uri="http://ssh.org/selects" prefix="ssh"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path;
String applicationPath = basePath + "/" + "application";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="<%=path%>/css/jinmu_style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<%=path%>/js/util.js"></script>
<script language="javascript" src="<%=path%>/js/SyncCommon.js"></script>
</head>
<body>
<html:form styleId="conferenceForm" action="addConference.do?method=addConference" onsubmit="return save();">
<input type="hidden" name="id" value="${id}">
	<table cellspacing="0" cellpadding="0" width="98%" align="center"  border="0" class="margtb5">
		    <tr>
		      <td align="left" class="padl5 lan12"><img src="<%=path%>/images/img-11.gif" width="12" height="12"></img> 项目管理 &gt; 进度管理 &gt; 专题会议 &gt; 增加</td>
		    </tr>
  </table>

		  <table cellspacing="1" cellpadding="0" width="98%" align="center"  border="0" class="bgcolor2 margb5">
               
        <tr class="bgcolor">
 	  <td width="10%"  align="right" class="zi13">项目名称：</td>
	  <td width="15%" class="pad2 zi13">
	   <input type="hidden" name="worksheetsid" style="height:18px;" flag="true" id="worksheetsid"  valid="required" errMsg="请选择项目名称！" errorTipContent="worksheetsname"/>
	  
	                               		        <input type="text" name="worksheetsname" id="worksheetsname" style="height:18px;width=140px;" readonly="true" /> <input onclick="window.open('${pageContext.request.contextPath}/listProjectworksheets.do?method=getProjectworksheetsPartialList&idText=worksheetsid&nameText=worksheetsname','projectlist', 'width=900,resizable=0,scrollbars=auto')" class="buttonbg" id="but_select" type="button" value="<bean:message key='com.syc.common.equipment.but_select' bundle="resourceB"/>" name="but_select" />	  </td>
	  <td width="10%"  align="right" class="zi13">任务书编号：</td>
	  <td width="15%" class="pad2 zi13">
	                               		         <input type="text"   valid="required|limitLength" max="50" readonly="true" errMsg="请输入任务书编号！|任务书编号长度不能超过50个字" name="projectid" id="projectid"/>	  </td>
        </tr>
		
		 <tr class="bgcolor">
 	  <td width="10%"  align="right" class="zi13">会议时间：</td>
	  <td width="15%" class="pad2 zi13">
	   
	  
	  <input type="text" name="conferencetimeStr" readonly="true" style="height:18px;"  onclick="popUpCalendarDlg(this)" flag="true" valid="required" errMsg="请选择会议时间！"/>
	  
	  	  </td>
	  <td width="10%"  align="right" class="zi13"><bean:message key="com.application.conference.entity.conference.createpage.conferencename" bundle="conferenceKey"/>：</td>
	  <td width="15%" class="pad2 zi13">
	                               		         <input type="text" flag="true"  valid="required|limitLength" max="50" errMsg="请输入<bean:message key='com.application.conference.entity.conference.createpage.conferencename' bundle='conferenceKey'/>！|<bean:message key='com.application.conference.entity.conference.createpage.conferencename' bundle='conferenceKey'/>长度不能超过50个字" maxlength="25" name="conferencename" />	  </td>
        </tr>
		
		
		 <!-- tr class="bgcolor">
 
	 
 
	  <td width="10%"  align="right" class="zi13" ><bean:message key="com.application.conference.entity.conference.createpage.conferencecontent" bundle="conferenceKey"/>：</td>
	  <td width="15%" class="pad2 zi13" colspan="3">
	                               		     <textarea cols="60" rows="5" name="conferencecontent" flag="true"  valid="required|limitLength" max="200" errmsg="请输入<bean:message key="com.application.conference.entity.conference.createpage.conferencecontent" bundle="conferenceKey"/>！|<bean:message key="com.application.conference.entity.conference.createpage.conferencecontent" bundle="conferenceKey"/>输入长度不能超过500个字"></textarea>	  </td>
        </tr-->
    </table> 
 <iframe width="100%" height="150px" onload="this.height=show_attachment.document.body.scrollHeight"
							src="<%=path%>/queryAttachment.do?method=queryAttachment&fid=${id}&type=50001"
											; scrolling="no" frameborder="0" name="show_attachment"
											id="show_attachment"></iframe>
		<p><p><p>
	
<table width="98%" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center">
 <input class="buttonbg" id="but_save" type="submit" value="<bean:message key='com.syc.common.conference.save' bundle="conferenceKey"/>" name="but_save" />
		  &nbsp;&nbsp;&nbsp;
		  <input class="buttonbg" id="but_return" type="button" value="<bean:message key='com.syc.common.conference.return' bundle="conferenceKey"/>"   name="but_return"" onClick="javascript:history.go(-1);"/>
  </tr>
</table>
  
</html:form>
</body>
</html>


<script>

function save(){
if(validateForm(document.forms[0],'Y'))
	{
		return true;
		
	}else{
	    return false;
	}
}

</script>





